package com.yyc.hkpost.bean.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @Author nike
 * @Date 2023/9/6 17:40
 * @Description
 */
@Entity
open class RfidFileBean {

    @PrimaryKey(autoGenerate = true)//自增长
    var uid: Long = 0

    @ColumnInfo(name = "title")
    var title: String = ""

    @ColumnInfo(name = "location")
    var location: String = ""

    @ColumnInfo(name = "prefix")
    var prefix: String = ""

    @ColumnInfo(name = "number")
    var number: Int = 0

    @ColumnInfo(name = "allNumber")
    var allNumber: Int = 0

    @ColumnInfo(name = "crearDate")
    var crearDate: String = ""

    @ColumnInfo(name = "updateDate")
    var updateDate: String = ""

    @ColumnInfo(name = "flieName")
    var flieName: String = ""

    @ColumnInfo(name = "status")
    var status: Int = 0
    override fun toString(): String {
        return "RfidFileBean(uid=$uid, title='$title', location='$location', prefix='$prefix', number=$number, crearDate='$crearDate', updateDate='$updateDate', flieName='$flieName', status=$status)"
    }

}